package languageacquisition.ontology;



import java.util.ArrayList;
import java.util.List;

import jade.content.Concept;

public class State implements Concept{
	private static final long serialVersionUID = 7711870246752605262L;
	private List<Property> properties = new ArrayList<Property>();

	public List<Property> getProperties() {
		
		return properties;
	}

	public void setProperties(ArrayList<Property> properties) {
		this.properties = properties;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((properties == null) ? 0 : properties.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		State other = (State) obj;
		if (properties == null) {
			if (other.properties != null)
				return false;
		} else if (!properties.equals(other.properties))
			return false;
		return true;
	}
}
